﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetUsers.aspx.cs" Inherits="PlugNT.Cms.Web.Admin.Pre_Systems.SetUsers" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>网站基本信息设置</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<script src="../js/jquery-1.3.2.min.js" type="text/javascript" ></script>
<script type="text/javascript" >
    $(function () {
        if ($("#ddlUsersencryptway").val() == "2") {
            $("#trUsersencryptinterface").show();
        }
        else {
            $("#trUsersencryptinterface").hide();
        }
        $("#ddlUsersencryptway").change(function () {
            if ($(this).val() == "2") {
                $("#trUsersencryptinterface").show();
            }
            else{
                $("#trUsersencryptinterface").hide();
            }
        });
    });
</script>
</head>
<body>

<div class="frmstatic" style="display:block">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="nav_menu">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align="left">
                <table>
                    <tr>
                        <td><img src="../images/main_home.gif" width="16" height="16" /></td>
                        <td><label>设置&nbsp;&gt;&nbsp;用户接口</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <table>
                    <tr>
                        <td><img src="../images/arrow_left.png" width="16" height="16" /></td>
                        <td><label><a href="javascript:window.history.back();" class="sub_menu">返回</a></label></td>
                    </tr>
                </table>
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>

<div class="frmstatic" style="display:block; margin-top:10px;">
<form id="form1" runat="server">
<span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
<div class="controls">
            
          <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
            <tr>
                <td width="145" align="right" nowrap="nowrap" bgcolor="#F4FBFF">
                    密码加密类型:
                </td>
                <td bgcolor="#F4FBFF">
                    <asp:DropDownList ID="ddlUsersencryptway" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr id="trUsersencryptinterface" style="display:none;">
                <td bgcolor="#F4FBFF" align="right">
                    密码加密接口:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersencryptinterface" CssClass="input" runat="server" Width="380px"></asp:TextBox>
                    url
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    注册属性:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:RadioButtonList ID="rblRegister" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <asp:ListItem Value="0" Selected="True">禁用注册 </asp:ListItem>
                        <asp:ListItem Value="1">启用注册 </asp:ListItem>
                        <asp:ListItem Value="2">邮件验证 </asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr id="tr2" style="display:none;">
                <td bgcolor="#F4FBFF" align="right">
                    邮件验证模板:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtEmailId" CssClass="input" runat="server" Width="180px"></asp:TextBox>
                </td>
            </tr>
            <tr id="tr1">
                <td width="145" bgcolor="#F4FBFF" align="right">
                    在线虚构人数:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtFakeCount" CssClass="input" runat="server"></asp:TextBox>
                    <span style="color:#999; "><!--#ffaa25//-->
                      提示：随机数可以用(n-n)的格式
                    </span>
                   
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    锁定用户:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUserslockeds" CssClass="input" runat="server" TextMode="MultiLine" Width="95%" Height="80px"></asp:TextBox>
                    <br />
                    <span style="color:#999; "><!--#ffaa25//-->
                      提示：多个用户名可以用“,”分开
                    </span>
                   
                </td>
            </tr>
            
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF">
                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnOnlineUpdate" runat="server"  
                      Text="用户在线配置" onclick="btnOnlineUpdate_Click"  />
              </td>
            </tr>


            <tr>
                <td colspan="2" style=" height:5px;"></td>
            </tr>


            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">用户表名:</td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUserstablename" CssClass="input" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    后台查询字段:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersselectfields" CssClass="input" runat="server" TextMode="MultiLine" Width="95%" Height="80px"></asp:TextBox>
                    <br />
                    <span style="color:#999; "><!--#ffaa25//-->
                     提示：多个字段名可以用“,”分开“*”表示全部
                    </span>
                   
                </td>
            </tr>
            
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF">
                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnTableUpdate" runat="server"  
                      Text="用户数据配置" onclick="btnTableUpdate_Click"  />
              </td>
            </tr>

            <tr>
                <td colspan="2" style=" height:5px;"></td>
            </tr>

            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    操作html代码:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersadminhtml" CssClass="input" runat="server" TextMode="MultiLine" Width="95%" Height="380px"></asp:TextBox>
                    <br />
                    <span style="color:#999; "><!--#ffaa25//-->
                    提示：nam_field表示所有在html中元素命名为“nam_”加字段名<br />
                    示例：&lt;input  name=&quot;nam_sex&quot;  type=&quot;text&quot; value=&quot;&quot;  /&gt;
                    </span>
                </td>
            </tr>
            
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF">
                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnHtmlUpdate" runat="server"  
                      Text="用户后台配置" onclick="btnHtmlUpdate_Click"  />
              </td>
            </tr>

        
          </table>
          

</div>
<span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</form>
</div>

</body>
</html>
